package com.koo.modules.comm.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-01-03 16:32:31
 */
@Data
@ApiModel()
@TableName("comm_upload_record")
public class CommUploadRecordEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    @TableId
    private Long recordId;

    @ColumnWidth(11)
    @ExcelProperty("企业ID")
    @ApiModelProperty(value = "企业ID")
    private Long companyId;


    @ColumnWidth(11)
    @ExcelProperty("上传表名称")
    @ApiModelProperty(value = "上传表名称")
    private String tableName;

    @ColumnWidth(11)
    @ExcelProperty("上传时间")
    @ApiModelProperty(value = "上传时间")
    private Date uploadDate;

    @ColumnWidth(11)
    @ExcelProperty("下载时间")
    @ApiModelProperty(value = "下载时间")
    private Date downloadDate;

    @ColumnWidth(11)
    @ExcelProperty("最后一次上传主键")
    @ApiModelProperty(value = "最后一次上传主键")
    private Long lastUploadTableId;

    @ColumnWidth(11)
    @ExcelProperty("最后一次下载数据f4主键")
    @ApiModelProperty(value = "最后一次下载数据f4主键")
    private String lastDownloadTableId;


}
